/*-----------------------------
----$Source: Volumes://MATEOR/vais/modules/include/braindo.h$
----$Date: June 30, 2012$
-------------------------------
VAIS Copyright Matthew Caswell, 2012
-----------------------------*/
#ifndef __BRAINDO_H
#define __BRAINDO_H

#include<vais.h>
#include<lds_ts.h>

typedef struct{
  int index;
  char dataStream[DS_MD];
  char* dataSeg[DS_MD];
  char first[DS_MD][DS_MD];
  char second[DS_MD][DS_MD];
  int lo[DS_MD];
  int hi[DS_MD];
  int run;
}VAIS_Func_t;

extern void initFunction (VAIS_Func_t*, char*);
extern void sortFunction (char[], char**, VAIS_Func_t*);
extern void parseFunction (VAIS_Func_t*);
extern void h_Function (VAIS_Func_t*, char*);
extern void VAIS_braindo (char*, int);
extern void VAIS_Memorize (char*, char*, char*);

#endif //__BRAINDO_H